package org.micode.demo.db.service;

import org.micode.demo.db.domain.dto.SysUserExtDTO;
import org.micode.demo.db.domain.query.SysUserExtQuery;
import org.micode.libs.dao.base.BaseEditService;

/**
 * 系统用户扩展表，关联型(sys_user_ext) 服务接口类
 * <p>
 * @author: wutianbin
 */
public interface DaoSysUserExtService
        extends BaseEditService<Long, SysUserExtDTO, SysUserExtQuery> {

    Integer deleteUserExtByUserId(Long userId);

    /**
     * 获取用户登录名对应用户的扩展信息
     *
     * @param loginName
     * @return
     */
    SysUserExtDTO getByLoginName(String loginName);

}
